StyledText.StyleRunCount Function

Returns as an Integer the number of style runs in Text. Use this in conjunction with the StyleRun and StyleRunRange methods to get information about each style run.

Syntax

result = StyledText.StyleRunCount( )

Return Value

Result

Integer